package service.impl;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import models.Doc;
import models.Doc.Category;
import models.Doc.Mandatory;
import models.Doc.Type;
import models.LoanApp;
import models.LoanApp.LoanType;

import org.apache.commons.lang.ArrayUtils;

import processor.LoanAppProcessor;
import repository.DocRepository;
import service.DocService;
import service.LoanAppService;

public class LoanAppServiceImpl extends AbstractServiceImpl implements LoanAppService {

    protected LoanApp dbloanApp;

    public LoanAppServiceImpl() {
        this.dbloanApp = new LoanApp();
    }

    public LoanAppServiceImpl(LoanApp loanApp) {
        this.dbloanApp = loanApp;
    }

    @Override
    public LoanAppProcessor getProcessor() {
        return new LoanAppProcessor(this.dbloanApp);
    }

    @Override
    public LoanApp getDBLoanApp() {
        return dbloanApp;
    }

  

   

   
   
}
